package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_new_year_bag_change", desc = "新春红包", autoSave = true, uploadCk = true)
public class LogNewYearBagChange extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "道具ID")
    private int goodsId;

    @FieldTypeAnnotation(desc = "数量")
    private long num;

    @FieldTypeAnnotation(desc = "途径")
    private int way;

    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogNewYearBagChange(long userId, int goodsId, long num, int way, String reward) {
        this.userId = userId;
        this.goodsId = goodsId;
        this.num = num;
        this.way = way;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public long getNum() {
        return num;
    }

    public void setNum(long num) {
        this.num = num;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
